package com.lvmama.constants;

/**
 * 业务常量
 *
 * @author yong.cao
 * @since 2017年6月14日下午11:36:42
 */
public interface Constants {
    //N常量
    String CONSTANTS_N = "N";
    //Y常量
    String CONSTANTS_Y = "Y";
    //SYSTEM常量
    String SYSTEM = "SYSTEM";
    //MD5
    String MD5 = "MD5";
    String ONE = "1";
    String WEEK = "week";
    String MONTH = "month";
    String DAY = "day";
    //reddis相关常量
    String SALESANALYSIS_JEDIS = "sales_analysis_";
    String JEDIS_SEPARATOR = ":";
    //常用分割符号
    String SEPARATOR = ":";
    //不存在的产品名称
    String DONT_EXIST_PRODUCT = " - ";

    //计算精度
    int COMPUTE_SCALE_2 = 2;
    int COMPUTE_SCALE_3 = 3;
    int COMPUTE_SCALE_4 = 4;
    int JEDIS_OUTTIME_HOUR = 23;
    int ONE_HOUR_SECONDS = 3600;
    //不存在的产品,其数量为0
    int DONT_EXIST_QUANTITY = 0;

    // 产品分析
    int SKU_SEASON = 90;
    int SKU_YEAR = 365;
}
